import org.junit.Assert;
import org.junit.Test;

public class StringTest {


  @Test
  public void testEqual() {
    String a = "11";
    String b = "11";
    Assert.assertEquals("not equal", a, b);
    System.out.println(a == b);

  }

  @Test
  public void testEqual2() {

    String a = new String("11");
    String b = new String("11");
    Assert.assertEquals("not equal", a, b);
    System.out.println(a == b);

  }

  @Test
  public void testEqual3() {

    String a = "11";
    String b = returnString();
    Assert.assertEquals("not equal", a, b);
    System.out.println(a == b);

  }


  public String returnString() {
    return "11";
  }
}
